@charset "utf-8";

body {
  font-size: 13px;
  color: #444f58;
}

a {
  font-size: 13px;
  color: #444f58;

  &:hover {
    color: #eb413d;
  }
}

.head_banner {
  height: 435px;
  overflow: hidden;
  position: relative;

  .cus_content {
    position: relative;
    overflow: visible;
    height: 100%;

    .head_banner_bg {
      display: block;
      height: 100%;
      position: absolute;
      top: 0;
      left: 50%;
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
      z-index: -1;
    }
  }

  .store_info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;

    .cus_content {
      padding: 20px 212px 20px 148px;
      box-sizing: border-box;
      position: relative;

      .pic_box {
        position: absolute;
        top: -17px;
        left: 20px;
        width: 100px;
        height: 100px;
        overflow: hidden;
        border-radius: 5px;

        img {
          display: block;
          margin: auto;
          height: 100%;
        }
      }

      .store_name, .store_description {
        line-height: 24px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .store_name {
        display: block;
        font-size: 18px;
      }

      .store_description {
        font-size: 13px;
        margin-top: 8px;
      }

      .handle {
        font-size: 0;
        position: absolute;
        top: 20px;
        right: 40px;

        .input_btn_shi {
          display: inline-block;
          border-radius: 5px;

          + .input_btn_shi {
            margin-left: 12px;
          }

          &:hover {
            color: #ffffff;
          }
        }
      }
    }
  }
}

.Carousel {
  position: relative;

  .lubo_wrap {
    overflow: hidden;
    width: 100%;

    .pic_box {
      height: 100%;
      width: 9999px;
    }
    .pic_box li {
      position: relative;
      height: 100%;
      float: left;
    }
    .pic_box li img {
      width: 100%;
      display: block;
    }

    #left_arrow,
    #right_arrow {
      cursor: pointer;
      position: absolute;
      display: none;
      width: 60px;
      height: 80px;
      top: 50%;
      vertical-align: middle;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, .4);
      color: #656870;
      line-height: 65px;
      text-align: center;
      font-size: 40px;
      overflow: hidden;
      img {
        //display: inline-block;
        vertical-align: middle;
      }
      &:hover, &:active {
        background: rgba(255, 255, 255, .2);
        color: #fff;
      }
    }
    #left_arrow {
      left: 0px;
      img {
        transform: rotate(180deg);
      }
    }
    #right_arrow {
      right: 0px;
    }
  }

  &:hover {
    .lubo_wrap {
      #left_arrow,
      #right_arrow {
        display: block;
      }
    }
  }

  .pannel {
    position: absolute;
    right: 50%;
    margin-right: -480px;
    bottom: 12px;

    li {
      float: left;
      width: 10px;
      height: 10px;
      background-color: #ffffff;
      border-radius: 50%;

      &:not(:first-child) {
        margin-left: 5px;
      }
    }

    li.active {
      background-color: #eb413d;
    }
  }
}

.filtrate {
  margin: 10px 20px;
  border: 1px solid #efefef;
  min-height: 54px;

  .select {
    width: 150px;
    border-right: 1px solid #efefef;

    .xm_select {
      height: 54px;
      overflow: hidden;
      border: none;
      border-radius: 0;

      > * {
        height: 54px;
      }

      input {
        width: 100%;
        box-sizing: border-box;
        padding-right: 45px;
      }

      a {
        margin-top: -54px;
        line-height: 54px;
        border: none;

        &:hover {
          background-color: transparent;
        }
      }
    }

    .xm_show {
      top: 54px;

      li {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-indent: 0;
        padding: 0 1em;
        box-sizing: border-box;

        &:first-child {
          border: none;
        }
      }
    }
  }

  .select, .radios, .goods_data {
    height: 54px;
    line-height: 54px;
  }

  .radios, .goods_data {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .radios {
    width: 560px;
    padding-left: 22px;

    label {
      &:not(:first-child) {
        margin-left: 20px;
      }
    }
  }

  .goods_data {
    width: 180px;
    padding-right: 22px;
    text-align: right;
    color: #99999a;

    span {
      &:not(:first-child) {
        margin-left: 10px;
      }

      em {
        color: #333333;
      }

      .text_red {
        color: #EB413D;
      }
    }
  }

  .sort_tab {
    padding: 0 20px;
    overflow: hidden;
    width: 640px;
    height: 54px;

    .item {
      float: left;
      line-height: 54px;
      padding: 0 20px;

      &:hover {
        background-color: #efefef;
      }
    }

    .item.active {
      color: #EB413D;
    }
  }

  .filtrate_search {
    position: relative;
    margin-top: 12.5px;
    margin-right: 22px;

    input {
      width: 188px;
      height: 29px;
      border-radius: 15px;
      border: 1px solid #dcdee0;
      padding: 0 1.5em;
      font-size: 13px;
      box-sizing: border-box;

      &::-webkit-input-placeholder {
        color: #99999a;
      }
    }

    i {
      cursor: pointer;
      position: absolute;
      right: 0.7em;
      top: 2px;
      color: #eb413d;
      line-height: 29px;

      &:active {
        -webkit-transform: translate(1px, 1px);
        transform: translate(1px, 1px);
      }
    }
  }
}

.goods_list {
  margin: 0 20px;
  overflow: hidden;

  .item {
    float: left;
    width: 24.25%;
    margin-bottom: 32px;

    &:not(:nth-child(4n+1)) {
      margin-left: 1%;
    }
  }
}

.goods_info {
  .pic_box {
    display: block;
    border: 1px solid #efefef;
    padding: 20px;
    height: 190px;

    div {
      height: 100%;
      overflow: hidden;
      -webkit-transition: -webkit-transform 500ms ease, transform 500ms ease;
      transition: -webkit-transform 500ms ease, transform 500ms ease;

      img {
        display: block;
        margin: auto;
        height: 100%;
      }
    }

    &:hover {
      div {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
      }
    }
  }

  .info_part {
    padding: 10px 0;

    p {
      font-size: 14px;
      line-height: 22px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;

      &:last-child {
        color: #99999a;
      }
    }
  }
}

.goods_info.info_box {
  .pic_box {
    height: 130px;
  }

  .info_part {
    background-color: #efefef;
    padding: 10px;
  }

  .diy {
    line-height: 0;
    text-align: right;

    a {
      font-size: 0;
      display: inline-block;
      background-color: #000000;
      border-radius: 11px;
      width: 86px;
      height: 21px;
      line-height: 21px;
      text-align: center;
      overflow: hidden;

      > * {
        display: inline-block;
        vertical-align: middle;
        position: relative;
        transition: all 200ms ease;
      }

      img {
        width: 13px;
        height: 13px;
        margin-right: 5px;
        border-radius: 50%;
        left: 0;
      }

      span {
        width: 52px;
        font-size: 13px;
        color: #ffffff;
        right: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      &:hover {
        img {
          left: 57px;
        }

        span {
          color: #eb413d;
          right: 18px;
        }
      }

      &:active {
        padding-top: 1px;
        padding-left: 2px;
      }
    }
  }
}

.store_list {
  margin: 0 20px;
  margin-bottom: 40px;

  .item {
    border: 1px solid #efefef;
    padding: 20px;

    &:not(:first-child) {
      margin-top: 15px;
    }

    .store_info {
      width: 200px;
      text-align: center;
      line-height: 22px;

      .pic_box {
        display: block;
        margin: auto;
        width: 70px;
        height: 70px;
        margin-top: 34px;

        div {
          width: 100%;
          height: 100%;
          overflow: hidden;

          img {
            display: block;
            margin: auto;
            height: 100%;
          }
        }
      }

      .store_name {
        display: block;
        margin-top: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        a {
          font-size: 16px;
          font-weight: bold;
          color: #eb413d;
        }
      }

      .store_description {
        font-size: 13px;
        height: 44px;
        overflow: hidden;
        margin-bottom: 10px;
      }

      .input_btn_shi {
        display: inline-block;
        border-radius: 5px;

        &:hover {
          color: #ffffff;
        }
      }
    }

    .hot_goods {
      width: 710px;

      .goods_item {
        overflow: hidden;

        .goods_info {
          float: left;
          width: 24.25%;

          &:not(:nth-child(4n+1)) {
            margin-left: 1%;
          }
        }
      }
    }
  }
}

.sui-pagination {
  margin: 10px 20px 0;
}

.sui-pagination ul {
  margin-bottom: 110px;
}

.sui-pagination ul input {
  border: none;
  background: none;
  margin: 0;
  width: 30px;
  color: #444f58;
  margin-top: -3px;
}

.sui-pagination ul input:hover, .sui-pagination ul input:active {
  color: #EB413D;
}

.sui-pagination ul li {
  float: left;
  margin-left: 5px;
  margin-right: 5px;
}

.sui-pagination ul li a {
  width: 38px;
  height: 38px;
  border: 1px solid #e7e7e7;
  border-radius: 5px;
  text-align: center;
  line-height: 38px;
  font-size: 16px;
  color: #444f58;
}

.sui-pagination ul li .activebaba {
  border: 1px solid #EB413D;
  color: #EB413D;
  background-color: white;
}

.sui-pagination ul li:hover a, .sui-pagination ul li:active a {
  border: 1px solid #EB413D;
  color: #EB413D;
  background: none;
}

.sui-pagination ul li:hover a input, .sui-pagination ul li:active a input {
  color: #EB413D;
}

.sui-pagination ul .yema a {
  width: 60px;
}

.sui-pagination ul .dotted {
  border-left: 0;
  border-right: 0;
  margin-left: 0;
}

.sui-pagination ul .dotted span {
  height: 38px;
  line-height: 38px;
  font-size: 16px;
  margin: 0;
  background: none;
  border: none;
  color: #444f58;
}

.select .xm_select a {
  border-right: 1px solid #efefef;
}

.select .xm_show ul li {
  background: #ffffff;
}